package com.ganbo.sc.user.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "userinfo")
@Data
@Component
@RefreshScope
public class UserConfig {

    private String name;
    private Integer sex;
    private Integer age;

}
